Release 10.1A: OpenEdge Data Management:
SQL Reference
SQLGetInfo
This section shows information the ODBC Driver returns to
SQLGetInfo.Table 64 describes return values to
SQLGetInfofrom the ODBC driver.
Table 64: Information the ODBC driver returns to SQLGetInfo Description fInfoType argument Returns Guaranteed execute privileges on all procedures returned bySQLProcedures. Guaranteed read access to all table names returned bySQLTables. Maximum number of active connections. Maximum number of active statements supported for an active connection. Maximum number of active environments. Support forALTER DOMAINstatement. Support forALTER TABLEclauses. SQL Conformance. Support for datetime literals. Level of asynchronous mode support. Behavior with respect to the availability of row counts in batches.SQL_BATCH_ROW_COUNT0x00000000 Support for batches.SQL_BATCH_SUPPORT0x00000000 Support for bookmarks.SQL_BP_UPDATE SQL_BP_SCROLL Position of qualifier in a qualified table name.SQL_CATALOG_LOCATION0 (Does not support) Support for catalog names.SQL_CATALOG_NAMEN Character used to separate table, column qualifiers.“ ” Term for object that qualifies table names.SQL_CATALOG_TERM“ ” Statements that support qualifiers.SQL_CATALOG_USAGE0x00000000 Default collation sequence name for the default character set.SQL_COLLATION_SEQ“ ” Support for column aliases.SQL_COLUMN_ALIASY Result of concatenation ofNULLcharacter column with non-NULLcolumn.SQL_CB_NULL = 0 Conversion fromBIGINT. Conversion fromBINARY. Conversion fromBIT. Conversion fromCHAR. Conversion fromDATE.SQL_CONVERT_DATE Conversion fromDECIMAL.SQL_CONVERT_DECIMAL Conversion fromDOUBLE. Conversion fromFLOAT. Support for conversion functions. Conversion fromINTEGER. Conversion fromINTERVAL_DAY_TIME. Conversion from INTERVAL_YEAR_MONTH. Conversion fromLONGVARBINARY. Conversion fromLONGVARCHAR. Conversion fromNUMERIC. Conversion fromREAL. Conversion fromSMALLINT. Conversion fromTIME. Conversion fromTIMESTAMP. Conversion fromTINYINT. Conversion fromVARBINARY. Conversion fromVARCHAR. Conversion fromWCHAR. Conversion fromWLONGVARCHAR. Conversion fromWVARCHAR. Support for table correlation names. Support forCREATE ASSERTIONstatement. Support forCREATE CHARACTER SETstatement. Support forCREATE COLLATIONstatement. Support forCREATE DOMAINstatement. Support forCREATE SCHEMAstatement. Support forCREATE TABLEstatement. Support forCREATE TRANSLATIONstatement. Support forCREATE VIEWstatement. Effect ofCOMMIToperation on cursors and prepared statements. Effect ofROLLBACKoperation on cursors and prepared statements. Support for cursor sensitivity. Name of the data source as specified to the ODBC Administrator. Access limited to read-only. Name of the Progress SQL-92 ODBC data source on the server system. Name of the database product supporting the data source. Version of the database product. Default transaction isolation level. Support for describing parameters viaDESCRIBE INPUTstatement. Version of the driver manager. Connection handle determined by the argument InfoType. Driver’s descriptor handle determined by the Driver Manager’s descriptor handle. Environment handle determined by the argumentInfoType. Handle library from the load library returned to the Driver Manager when it loaded the driver DLL. Driver’s statement handle determined by the Driver Manager’s statement handle. Name of the dynamic link library file for the ODBC Driver. Supported ODBC version. Current version of the ODBC Driver. Support forDROP ASSERTIONstatement. Support forDROP CHARACTER SETstatement. Support forDROP COLLATIONstatement. Support forDROP DOMAINstatement. Support forDROP SCHEMAstatement. Support forDROP TABLEstatement. Support forDROP TRANSLATIONstatement. Support forDROP VIEWstatement. Supported attributes of a dynamic cursor: subset1. Supported attributes of a dynamic cursor: subset2. Support for expressions inORDER BYclause. Supported fetch direction options. Single-tier driver behavior. Supported attributes of a forward-only cursor: subset1. Supported attributes of a forward-only cursor: subset2. Supported extensions toSQLGetData. Relationship betweenGROUP BYclause and columns in the select list. Case sensitivity of user-supplied names. Character used to enclose delimited identifiers. Keywords supported in theCREATE INDEXstatement. Supported views inINFORMATION_SCHEMA. Support for Integrity Enhancement Facility. Supported attributes of a keyset cursor: subset1. Supported attributes of a keyset cursor: subset2. Data source specific keywords. See the OpenEdge SQL Reserved Words section for a list of SQL Keywords. Support for escape clause inLIKEpredicates. Support for lock types. Maximum number of active concurrent statements in asynchronous mode. Maximum length in hexadecimal characters of binary literals. Maximum length of a table or column qualifier. Maximum length in characters of character string literals. Maximum length of a column name. Maximum number of columns allowed inGROUP BYclause. Maximum number of columns allowed in an index. Maximum number of columns allowed inORDER BYclause. Maximum number of columns allowed in a select list. Maximum number of columns allowed in a table. Maximum number of active SQL statements.0(No maximum) Maximum length of a cursor name. Maximum number of active connections. Maximum length of user-defined names. Maximum number of bytes allowed in the combined fields of an index. Maximum length of a procedure name. Maximum length in bytes of a table row. Whether maximum row size includesLONGVARCHARandLONGVARBINARY. Maximum length of an owner name. Maximum number of characters in an SQL statement. Maximum length of a table name. Maximum number of tables allowed inFROMclause. Maximum length of a user name. Maximum length of owner name. Maximum length of a qualifier name. Support for multiple result sets. Support for active transactions on multiple connections. Whether data source requires length ofLONGVARCHARandLONGVARBINARYdata. Support forNOT NULLclause inCREATE TABLEstatement. Where null values are sorted in a list. Numeric functions supported. SQL_FN_NUM_ABS SQL_FN_NUM_ACOS SQL_FN_NUM_ASIN SQL_FN_NUM_ATAN SQL_FN_NUM_ATAN2 SQL_FN_NUM_CEILING SQL_FN_NUM_COS SQL_FN_NUM_EXP SQL_FN_NUM_FLOOR SQL_FN_NUM_MOD SQL_FN_NUM_PI SQL_FN_NUM_POWER SQL_FN_NUM_RADIANS SQL_FN_NUM_RAND SQL_FN_NUM_ROUND SQL_FN_NUM_SIGN SQL_FN_NUM_SIN SQL_FN_NUM_SQRT SQL_FN_NUM_TAN SQL_FN_NUM_DEGREES SQL_FN_NUM_LOG10 Level of ODBC conformance. Level of ODBC 3.x interface conformance. SQL Access Group (SAG) conformance. Level of SQL conformance. Referential integrity syntax support. ODBC version supported by driver manager. Types of outer joins supported. Whether columns inORDER BYclause must also be in select list. Support for outer joins. Name for an owner. Statements in which owner can be used. Characteristics of row counts available in a parameterized execution. Characteristics of result sets available in a parameterized execution. Supported operations inSQLSetPos. Supported positioned SQL statements. Term for procedures. SQL procedures support. Support for qualifiers. Case sensitivity of quoted user-supplied names. Separator character used between qualifier name and element. Term used for a qualifier. Position of the qualifier in a qualified table name.0(Does not support) Detect changes to any row in mixed-cursor operations. Term for entity that has owner privileges on objects. owner Statements that support use of owner qualifiers. Options supported for scrollable cursors. Support for scrollable cursors. Character to permit wildcard characters in search strings.\(Backslash) Name of the system where the ODBC data source resides. (String containing the name) Special characters allowed in user-supplied names. “_”, “%” Datetime scalar functions supported. Behavior ofDELETEstatement that refers to a foreign key. Behavior ofUPDATEstatement that refers to a foreign key.GRANTstatement clauses supported. Numeric scalar functions supported. Predicates supported. Relational join operators supported.REVOKEstatement clauses supported. Row value constructor expressions supported. String scalar functions supported. Value expressions supported. CLI standards to which the driver conforms. Supported attributes of a static cursor: subset1. Supported attributes of a static cursor: subset2. Support for detection of changes made to a static or key-set driven cursor throughSQLSetPos. String functions supported. SQL_FN_STR_CONCAT SQL_FN_STR_INSERT SQL_FN_STR_LEFT SQL_FN_STR_LTRIM SQL_FN_STR_LENGTH SQL_FN_STR_LOCATE SQL_FN_STR_LCASE SQL_FN_STR_REPEAT SQL_FN_STR_REPLACE SQL_FN_STR_RIGHT SQL_FN_STR_RTRIM SQL_FN_STR _SUBSTRING SQL_FN_STR_UCASE SQL_FN_STR_ASCII SQL_FN_STR_CHAR SQL_FN_STR _DIFFERENCE SQL_FN_STR_LOCATE_2 SQL_FN_STR_SPACE SQL_FN_STR_CHAR _LENGTH SQL_FN_STR _CHARACTER_LENGTH Predicates that support subqueries. System functions supported. Term for tables. Timestamp intervals supported forTIMESTAMPADDfunction. Timestamp intervals supported forTIMESTAMPDIFFfunction. Date-time functions supported. SQL_FN_TD_NOW SQL_FN_CURDATE SQL_FN_TD _DAYOFMONTH SQL_FN_TD _DAYOFWEEK SQL_FN_TD _DAYOFYEAR SQL_FN_TD_MONTH SQL_FN_TD_QUARTER SQL_FN_TD_WEEK SQL_FN_TD_YEAR SQL_FN_CURTIME SQL_FN_TD_HOUR SQL_FN_TD_MINUTE SQL_FN_TD_SECOND SQL_FN_TD _TIMESTAMP_ADD SQL_FN_TD _TIMESTAMPDIFF SQL_FN_TD_DAYNAME SQL_FN_TD _MONTHNAME Support for DML, DDL within transactions. Options for setting transaction isolation levels.UNIONsupport. Name of user connected to the data source. (String containing the name) Year of publication of the X/Open specification with which the driver complies.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |